$color:white;

html,
body {
    background-color: $color;
    height: 100%;
    width: 100%;
}

.navbar {
    a {
        cursor: pointer;
        text-decoration: none;
        color: rgb(234, 231, 225);
        display: inline-block;
        padding-top: .3125rem;
        padding-bottom: .3125rem;
        margin-right: 1rem;
        font-size: 1.25rem;
        line-height: inherit;
        white-space: nowrap;
    }

    .nav-item {
        margin-right: 20px;

        a {
            color: rgba(213, 209, 200, 0.5);
            display: block;
            padding: .5rem 1rem;
            margin-right: 0rem;
            font-size: 1rem;
        }

        .active {
            color: #fff;
            //background-color: red;
        }
    }
}

//轮播
img {
    width: 100%;
    height: 420px;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #aaa;
}

li {
    list-style: none;
}

//商品
.products {
    margin: 10px 150px 50px;
    overflow: hidden;

    .listsmsg {
        overflow: hidden;
    }

    .allProduct {
        margin-top: 10px;
        margin-left: 49px;
        font-size: 20px;
    }

    .productList {
        width: 274px;
        margin: 0 1% 25px;
        float: left;
        background: #eee;
    }

    p {
        height: 48px;
        margin: 10px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    span {
        margin: 0 152px 30px 10px;
        display: inline-block;
    }
}
.viewBtn{
    width:60px;height:38px;
}
.view{
    color:#DC3545;
    display: block;
    width:60px;height:38px;
    line-height: 38px;
    margin-left:-13px;
    margin-top:-7px;
}
.view:hover{
    text-decoration: none;
    color:#fff;
}

//商品详情
.productDetail {
    width: 1160px;
    margin: 50px auto;
    background: #ccc;
    overflow: hidden;
}

.details-l {
    width: 600px;
    float: left;
    margin-top: 30px;
    margin-left: 20px;
    margin-bottom: 30px;
    margin-right: 46px;
}

.details-r {
    width: 470px;
    float: left;
    margin-top: 30px;
    margin-right: 20px;
    margin-bottom: 30px;

    p {
        margin-bottom: 30px;
        width: 470px;
        word-break: break-word;
    }

    Input {
        width: 124px;
        display: inline-block;
        border: none;
        height:36px;
        text-indent: 47px;
        /* border-radius: 0px; */
    }

    .add-reduce {
        position: relative;
        margin-bottom: 30px;
        margin-top:10px;
        .reduce{
            position: absolute;
            top:0px;
            left:1px;
            background: #eee;
            border:1px solid #eee;
            color:black;
            cursor: pointer;
            display: inline-block;
            width: 36px;
            height: 36px;
        }
        .add{
            position: absolute;
            top:0px;
            left:90px;
            background: #eee;
            border:1px solid #eee;
            color:black;
            cursor: pointer;
            display: inline-block;
            width: 36px;
            height: 36px;
        }
        .addToCart{
            position: absolute;
            top:0px;
            right:0;
        }
    }

}

//购物车
.carts {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 50px;

    .noProduct {
        font-size: 24px;
        position: absolute;
        margin-top: 200px;
        left: 50%;
        margin-left: -78px;
    }

    .hasProduct {
        width: 1200px;
        background: #ccc;
        height: 50px;
        line-height: 50px;
        margin: 10px auto 10px;

        Input {
            margin-left: 20px;
            margin-top: 20px;
        }

        .details {
            margin-left: 62px;
        }

        .danjia {
            margin-left: 660px;
        }

        .quantity {
            margin-left: 96px;
        }

        .total {
            margin-left: 104px;
        }

        .caozuo {
            margin-left: 67px;
        }

        .quantity1 {
            display: inline-block;
            margin-left: 749px;
            width:82px;
        }

        .total1 {
            display: inline-block;
            margin-left: 50px;
            width:95px;
        }

        .buy {
            margin-left: 35px;
            width:60px;
        }
    }

    ul {
        width: 1200px;
        margin: 0 auto 10px;
        padding-left: 0;
    }
}

.cartLists {
    width: 100%;
    background: #eee;
    height: 86px;
    line-height: 82px;
    margin-bottom: 2px;

    Input {
        margin-left: 20px;
        margin-top: 35px;
    }

    span {
        width: 86px;
        height: 72px;
        display: inline-block;
        /* margin-left: 62px; */
    }

    img {
        width: 100%;
        height: 100%;
    }

    h4 {
        display: inline-block;
        font-size: 16px;
        margin-left: 30px;
        width: 500px;
        word-wrap: none;
    }

    p {
        display: inline-block;
        margin: 0 40px;
        margin-left: 79px;
        width: 14px;
    }

    Button {
        margin-left: 30px;
    }
}

.checkBoxSize{
    width: 95px;
    height: 49px;
    display: inline-block;
    overflow: hidden;
}